home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
By Popular Request 2.0
/
By Popular Request 2.0 (Arsenal Computer).ISO
/
amiga_1
/
amsls495.lzh
/
AMOSLIST
/
000080_amos-request@svcs1.digex.net_Wed Apr 19 07:42:40 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1995-05-01
|
2KB
Received: from svcs1.digex.net by nfs1.digex.net with SMTP id AA17039
(5.67b8/IDA-1.5); Wed, 19 Apr 1995 07:42:37 -0400
Received: by svcs1.digex.net id AA02367
(5.67b8/IDA-1.5 for amos-out); Tue, 18 Apr 1995 01:10:05 -0400
Received: from nfs1.digex.net by svcs1.digex.net with SMTP id AA02363
(5.67b8/IDA-1.5 for <amos@svcs1.digex.net>); Tue, 18 Apr 1995 01:10:03 -0400
Received: from phoenix.inka.de by nfs1.digex.net with SMTP id AA13554
(5.67b8/IDA-1.5 for <amos-list@access.digex.net>); Tue, 18 Apr 1995 01:09:59 -0400
Received: from <mips.pfalz.de> by phoenix.inka.de with bsmtp
(Smail3.1.29.1 #13) id m0s15Xy-0002dsC; Tue, 18 Apr 95 07:09 MET DST
Received: from kiste.pfalz.de by mips.pfalz.de with cbsmtp
(Smail3.1.28.1 #4) id m0s10lZ-000CniC; Tue, 18 Apr 95 02:03 MET DST
X-Zc-Via: 19950417201656W+1@kiste.pfalz.de
X-Zc-Via: 19950417175718W+1@sixpack.pfalz.de
Subject: Re: Passing arguments
Message-Id: <vkqBBMD261aHz19@p22.sixpack.pfalz.de>
Date: Mon, 17 Apr 95 17:07:13 CET
X-Zc-Telefon: V+49-89/8005856
X-Zc-Post: Kennedystrasse 8; D-82178 Puchheim; Germany
Path: kiste.pfalz.de!sixpack.pfalz.de
From: Chris@sixpack.pfalz.de (Chris Hodges)
X-Mailer: MicroDot 1.10 [REGISTERED 000261] via Connectline-CLMSortin 2.17
To: amos-list@access.digex.net
X-Gateway: ZConnect CL kiste.pfalz.de [Connectline/AmigaOS]
References: <60.2155.6587.0C1DC0AB@canrem.com>
Status: O
X-Status:
mike.pelletier@canrem.com (Mike Pelletier) wrote on 16.04.1995 some
text under the subject Passing arguments. I can't leave this
uncommentated ;-)
MP> How do you read a string passed with a cli?
MP>
MP> eg: 6> AMOSPRG fred
MP>
MP> How would I get the amos program (which is compiled and runs from the cli) to
MP> get the string fred?
Luckily, this is very easy. Just use the "=Command Line$" function to
get the parameter... read out the string as soon as possible because
it is stored in the graphics buffer (?)...
MP> I'm sure it's just a matter of reg() and stuff, but I need to know where/how.
You could of course use a lot of ParseArgs() to get the same or even
better results... :-)
Bye, Chris Hodges <chris@surprise.rhein-ruhr.de> __ __
A500/290/CD/'30er; German Extension-Coder __ /// / / _____
GCS d H s-:++ !g p? !au a18 w++ v? C+++ \\\/// / /_/ ___/ LOGOUT
E---- N++ K- W------ -po+ t++@ !5 j-- R+ G? \XX/ \__/ __/ FASCISM!
tv- b+ D-- B? e+(++)* u++ h! f !r n+ !y+ AMIGA RULEZ! \/